UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All global initialization files must have mode 0644 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-11981 GEN001720 SV-38882r1_rule ECLP-1 Medium
Description
Global initialization files are used to configure the user's shell environment upon login. Malicious modification of these files could compromise accounts upon logon.
STIG Date
AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE 2018-09-18

Details

Check Text ( C-37157r1_chk )
Check global initialization files permissions:

# ls -l /etc/.login /etc/profile /etc/bashrc /etc/environment /etc/security/environ /etc/security/.profile /etc/csh.login /etc/csh.cshrc

If global initialization files are more permissive than 0644, this is a finding.
Fix Text (F-11242r2_fix)
Change the mode of the global initialization file(s) to 0444.
# chmod 0444